package com.wrh.demo.service;

import org.springframework.stereotype.Service;

@Service
public class TestService {

    public void throwException() throws Exception {
        throw new Exception("从内部方法抛出的异常");
    }

}
